<!doctype html>
<html><!-- InstanceBegin template="/Templates/tem.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>搜索</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../css/bootstrap-4.3.1.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../css/style.css">
</head>

<body>
<div class="container-fluid">
  <div class="container">
    <nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light nav_my">
      <div class="container">
        <div class="collapse navbar-collapse" id="navbarSupportedContent1">
          <ul class="navbar-nav mr-auto nav_list">
            <li class="nav-item active"> <a class="nav-link fontsize" href="#">首页</a> </li>
            <li class="nav-item active"> <a class="nav-link fontsize" href="#">电影</a> </li>
            <li class="nav-item active"> <a class="nav-link fontsize" href="#">电视剧</a> </li>
            <li class="nav-item active"> <a class="nav-link fontsize" href="#">动漫</a> </li>
          </ul>
          <form class="form-inline my-2 my-lg-0">
            <input class="form-control mr-sm-2" type="search" placeholder="输入关键字" aria-label="Search">
            <button class="btn btn-outline-success my-2 my-sm-0 button tree-default" type="submit"></button>
            <div class="wx tre-default"></div>
            <ul class="navbar-nav mr-auto logo">
              <li class="nav-item active"> <a class="nav-link" href="#">登录</a> </li>
              <li class="nav-item active"> <a class="nav-link" href="#">注册</a> </li>
            </ul>
          </form>
        </div>
      </div>
    </nav>
  </div>
</div>
    
<!-- InstanceBeginEditable name="EditRegion4" -->
    <!-- InstanceEndEditable -->
    
<!-- InstanceBeginEditable name="EditRegion3" -->
<div class="container sou_cont">
  <p>温馨提示:请点击搜索【<span class="sou_tag">斗罗大陆</span>】结果的标题或封面图进行观看</p>
    
    
    <div class="row" id="row">
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>
    <div class="col-xs-1 row_a my-col"> <a href="" class="">
      <div> <img class="tp" src="../img/tuijian.jpg" alt=""> </div>
      <div class="row_div2"> <span class="row_span1">婚姻故事</span> <span class="row_span2">主演：斯嘉丽·.</span> </div>
      </a> </div>     
  </div>
    <div class="page">
    <hr>
    <a href=""><span>上一页</span></a>
    <a href=""><span>下一页</span></a>
    <a href=""><span>当前第$页</span></a>
    
    </div>
  
</div>
<!-- InstanceEndEditable -->

<div class="container-fluid footer1">
  <div class="container">
    <h2>VIP电影系统 - 搜索全网vip视频观看</h2>
    <span>加入我们</span> </div>
</div>
<div class="container-fluid footer2">
  <div class="container"> <span>本站提供的最新电影和电视剧资源均系收集于各大视频网站,本站只提供web页面服务,并不提供影片资源存储,也不参与录制、上传</span> <span>若本站收录的节目无意侵犯了贵司版权，请给网页底部邮箱地址来信,我们会及时处理和回复,谢谢。</span> <span>管理员邮箱：admin@abc.com</span> <span>© 2019 VIP电影系统  ICP备xxxx号  本站主题由 【VIP电影系统】 提供</span> </div>
</div>
<script src="../js/jquery-3.3.1.min.js"></script> 
<script src="../js/popper.min.js"></script> 
<script src="../js/bootstrap-4.3.1.js"></script>
<script src="../js/axios.min.js"></script>
<script type="text/javascript">
	var row=document.getElementById("row");
	var lists="";
	function GetQueryString(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i");
			var r = window.location.search.substr(1).match(reg);
			if (r!=null) return (r[2]); return null;
		}
	var text=GetQueryString("text");
	console.log(text);			
	axios({
	     headers: {
	'Access-Control-Allow-Origin': '*',
	"Access-Control-Allow-Headers": "Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild",
	},//设置跨域请求头
	    method: "GET",//请求方式
	      url: "http://127.0.0.1:8080/sou?text="+text//请求地址
	    })
	      .then(function(res) {
	      	//返回值
	        console.log(res.data);
	        for(var i=0;i<res.data[0].length;i++){
				lists+="<div class='col-xs-1 row_a my-col'> <a href='bofang.html?dsj="+res.data[0][i].hrefs+"' class=''><div> <img class='tp' src='"+res.data[0][i].imgs+"' alt=''> </div><div class='row_div2'> <span class='row_span1'>"+res.data[0][i].names+"</span> <span class='row_span2'>"+res.data[0][i].jieshaos+"</span> </div></a> </div>";
			}
			// console.log(lists)
			row.innerHTML=lists;
	      })
	      .catch(function(err) {
	        console.log(err);
	      });			
				
				
				
</script>
</body>
<!-- InstanceEnd --></html>
